package com.mit.service.purchase.dao;

import java.util.List;

import com.mit.common.exception.NoRecordUpdateException;
import com.mit.common.purchase.dto.InquiryTaskDTO;

public interface IInquiryTaskDAO {

	InquiryTaskDTO createInquiryTaskDTO(InquiryTaskDTO to);
	Integer retrieveTaskIdByStyleId(Integer styleId);
	void updateInquiryTaskState(Integer taskId) throws NoRecordUpdateException;
	void updateInquiryTask(InquiryTaskDTO to) throws NoRecordUpdateException;
	List<InquiryTaskDTO> retrievePagedInquiryTasks(Integer orgId, String styleCode, String state, Integer pageNo, Integer pageSize);
	Integer retrieveInquiryTaskCount(Integer orgId, String styleCode, String state);
}
